package com.gec.hawsteproject.hawaste.utils;

import org.springframework.util.ObjectUtils;

import java.util.Map;

public class ParamUtil {
    public static boolean checkParams(Map<String, Object> params, String key){
        return params.containsKey(key)&&!ObjectUtils.isEmpty(params.get(key));
    }
}
